SftTree/NET 2.0

Item Property, ColumnsClass Class

Softel vdm, Inc.

Defines the column at the specified index.

Syntax      ColumnsClass Class (Softelvdm.SftTreeNET)

VB   

Public Default Property Item( ByVal ColIndex As Integer ) As ColumnClass

C#   

public ColumnClass this[ int ColIndex ] { get; set; }

C++   

public: property ColumnClass^ this[ int ] {
        ColumnClass^ get(int ColIndex);
        void set(int ColIndexColumnClass^ value);
}

ColIndex

The zero-based column index.

Property Value

The column.

Comments

The Item property defines the column at the specified index.

When assigning a new instance of the ColumnClass object to the property, all attributes and definitions for the specified column (ColIndex) are replaced with the new definitions.

The column remains at the same display position.

The Item property is the indexer of the ColumnsClass class, so languages supporting indexers can use array syntax, usually [] or (), to access the Item property.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com